package com.liliudong.makabaka.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统角色
 *
 * @TableName sys_role
 */
@TableName(value = "sys_role")
@Data
public class SysRole implements Serializable {
    /**
     * ID
     */
    @TableId
    private Long id;

    /**
     * 角色名称
     */
    private String roleName;
    /**
     * 角色编码
     */
    private String roleCode;

    /**
     *
     */
    private Long createdBy;

    /**
     *
     */
    private Date createdAt;

    /**
     *
     */
    private Long updatedBy;

    /**
     *
     */
    private Date updatedAt;

    /**
     *
     */
    private Integer deleted;

    /**
     *
     */
    private String orgNo;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}